package xyz.yuzegod.megawalls.event;

import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import xyz.yuzegod.megawalls.game.Game;

public class GameStartEvent extends Event
{
    private static final HandlerList handlers;
    private Game game;
    
    public GameStartEvent(final Game game) {
        this.game = game;
    }
    
    public static HandlerList getHandlerList() {
        return GameStartEvent.handlers;
    }
    
    public HandlerList getHandlers() {
        return GameStartEvent.handlers;
    }
    
    public Game getGame() {
        return this.game;
    }
    
    static {
        handlers = new HandlerList();
    }
}
